package com.zhenmaitang.clinic_sys.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 菜单VO类 - 用于返回菜单信息
 */
@Schema(description = "菜单信息VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuVo extends BaseVo {
    
    @Schema(description = "菜单ID", example = "1")
    private Integer id;
    
    @Schema(description = "菜单名称", example = "用户管理")
    private String name;
    
    @Schema(description = "菜单路径", example = "/user")
    private String path;
    
    @Schema(description = "菜单图标", example = "user")
    private String icon;
    
    @Schema(description = "排序号", example = "1")
    private Integer sort;
    
    @Schema(description = "父菜单ID", example = "0")
    private Integer parentId;
    
    @Schema(description = "子菜单列表")
    private Integer childrenId;

    @Schema(description = "菜单类型")
    private String menuType;

    @Schema(description = "菜单权限")
    private List<PermissionVo> perimissionCode;

    @Schema(description = "是否可见")
    private Integer visible;

    @Schema(description = "是否启用")
    private Integer enabled;
}